using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for BangGiaBL
/// </summary>
namespace BusinessLogic 
{
    public class BangGiaBL 
    {
    	#region Private Variables
		BangGiaDAL objBangGiaDAL;
		#endregion
		
        #region Public Constructors
        public BangGiaBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objBangGiaDAL=new BangGiaDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(BangGia objBangGia)
        {
            return objBangGiaDAL.Insert(objBangGia);
        }

        public int Update(BangGia objBangGia)
        {
             return objBangGiaDAL.Update(objBangGia);

        }

        public int Delete(BangGia objBangGia)
        {
             return objBangGiaDAL.Delete(objBangGia);

        }

         public int DeleteAll()
        {
             return objBangGiaDAL.DeleteAll();
        }

        public BangGia Select(BangGia objBangGia)
        {
            return objBangGiaDAL.Select(objBangGia);
        }

        public ArrayList SelectAllToArray( )
        {
         return objBangGiaDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objBangGiaDAL.SelectAll();
        }


     
#endregion          
    
    }

}
